package vip.xiaonuo.gateway.core.consts;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author zjt
 * @description
 * @date 2025/3/6 10:14
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "allowed")
public class GatewayAllowedIpProperties {

    private boolean enabled;

    private List<String> ip;

    private List<String> user;
}
